﻿using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;

namespace MMITIntegration
{
    public partial class IntegrationResponse
    {
        public string TransactionCode
        {
            get;
            set;
        }

        public string txtDescription
        {
            get;
            set;
        }
        
        public string errDescription
        {
            get;
            set;
        }

        public IntegrationParty IntegrationParty
        {
            get;
            set;
        }

        public string IntegrationTransactionCode
        {
            get;
            set;
        }
        //I think we should remove this property since it is ukash specific and this class appears to be a generic ir
        // we could make this class an interface or base class and write implementations for ukash and mobipay, then we include UO in ukash's implementation
        public UkashOutput UO
        {
            get;
            set;
        }
    }
    //this will ensure that all references to mobipay or ukash will be uniform across the project i.e prevent spelling mistakes
    public enum IntegrationParty
    {
        Ukash, 
        Mobipay,
    }
}
